package com.durablemethods.futures.client;

import java.util.List;
import com.google.gwt.user.client.rpc.RemoteService;
import com.google.gwt.user.client.rpc.RemoteServiceRelativePath;

@RemoteServiceRelativePath("nhlMarkets")
public interface NHLMarketsService extends RemoteService{
	
	public List<NHLMarket> getMarkets(List<NHLTeam> teams);
	public NHLTradeEntryDto saveTrade(NHLTradeEntryDto newTrade);
	public NHLBidASk insertBidAsk(NHLBidASk bidAsk) throws OddLotException;
	public List<NHLTradeEntryDto> getAllTrades();
	public List<NHLBidASk> getMyMarkets(String goolgle_account);
	public boolean killBidAsk(Integer bidAskId) throws KillFilledMarketException;
	public NHLTradeEntryDto processHitLift(NHLTrader trader, NHLMarket market) throws MarketLevelNoLongerAvailableException;
}
